package com.ruoyi.orderEat.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 商品信息对象 shop_info
 *
 * @author DingHao
 * @date 2023-11-22
 */
public class ShopInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商品ID */
    private Long shopId;

    /** 商品分类ID */
    private Long categoryId;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String shopName;

    /** 商品图片 */
    @Excel(name = "商品图片")
    private String shopUrl;

    /** 商品简介 */
    @Excel(name = "商品简介")
    private String shopIntroduce;

    /** 商品状态 */
    @Excel(name = "商品状态")
    private String shopStatus;

    /** 商品库存 */
    @Excel(name = "商品库存")
    private Long shopInventory;

    /** 商品价格 */
    @Excel(name = "商品价格")
    private BigDecimal shopAmount;

    /** 商品销量 */
    @Excel(name = "商品销量")
    private Long shopSales;

    /** 起购数量 */
    @Excel(name = "起购数量")
    private Integer minimumQuantity;

    /** 排序 */
    @Excel(name = "排序")
    private Integer sort;


    public void setShopId(Long shopId)
    {
        this.shopId = shopId;
    }

    public Long getShopId()
    {
        return shopId;
    }
    public void setCategoryId(Long categoryId)
    {
        this.categoryId = categoryId;
    }

    public Long getCategoryId()
    {
        return categoryId;
    }
    public void setShopName(String shopName)
    {
        this.shopName = shopName;
    }

    public String getShopName()
    {
        return shopName;
    }
    public void setShopUrl(String shopUrl)
    {
        this.shopUrl = shopUrl;
    }

    public String getShopUrl()
    {
        return shopUrl;
    }
    public void setShopIntroduce(String shopIntroduce)
    {
        this.shopIntroduce = shopIntroduce;
    }

    public String getShopIntroduce()
    {
        return shopIntroduce;
    }
    public void setShopStatus(String shopStatus)
    {
        this.shopStatus = shopStatus;
    }

    public String getShopStatus()
    {
        return shopStatus;
    }
    public void setShopInventory(Long shopInventory)
    {
        this.shopInventory = shopInventory;
    }

    public Long getShopInventory()
    {
        return shopInventory;
    }
    public void setShopAmount(BigDecimal shopAmount)
    {
        this.shopAmount = shopAmount;
    }

    public BigDecimal getShopAmount()
    {
        return shopAmount;
    }
    public void setShopSales(Long shopSales)
    {
        this.shopSales = shopSales;
    }

    public Long getShopSales()
    {
        return shopSales;
    }

    public Integer getMinimumQuantity() {
        return minimumQuantity;
    }

    public void setMinimumQuantity(Integer minimumQuantity) {
        this.minimumQuantity = minimumQuantity;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("shopId", getShopId())
            .append("categoryId", getCategoryId())
            .append("shopName", getShopName())
            .append("shopUrl", getShopUrl())
            .append("shopIntroduce", getShopIntroduce())
            .append("shopStatus", getShopStatus())
            .append("shopInventory", getShopInventory())
            .append("shopAmount", getShopAmount())
            .append("shopSales", getShopSales())
            .append("minimumQuantity", getMinimumQuantity())
            .append("sort", getSort())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
